import React from 'react'
import { Outlet } from 'react-router-dom'
import { Layout } from 'antd'
import Header from './components/Header'
import Asider from './components/Asider'
import Bread from './components/Bread'

export default function App() {
  return (
    <Layout id="app">
      <Header></Header>
      <div className="container">
        <Asider></Asider>
        <div className="container-content">
          <Bread  />
          <div className="container-box">
            <Outlet></Outlet>
          </div>
        </div>
      </div>
      <footer>Copyright &copy; 2022</footer>
    </Layout>
  )
}
